package project3t.android.data;

/**
 * @author Ann Raboschuk
 *
 */
public class Address
{	
	private static final long serialVersionUID = 1L;
   private Long id;
   private Country country;
   private City city;
   private Street street;
   private String building, flat;
   public Address()
   {}
   
   public Address(Country country, City city, Street street, String building,
			String flat) 
   {	
		this.country = country;
		this.city = city;
		this.street = street;
		this.building = building;
		this.flat = flat;
   }
   
   public String getBuilding()
   {
      return building;
   }

   public City getCity()
   {
      return city;
   }

   public Country getCountry()
   {
      return country;
   }

   public String getFlat()
   {
      return flat;
   }

   public Long getId()
   {
      return id;
   }

   public Street getStreet()
   {
      return street;
   }

   public void setBuilding(String building)
   {
      this.building = building;
   }

   public void setCity(City city)
   {
      this.city = city;      
   }
  
   public void setCountry(Country country)
   {
      this.country = country;
   }

   public void setFlat(String flat)
   {
      this.flat = flat;
   }

   public void setId(Long id)
   {
      this.id = id;
   }

   public void setStreet(Street street)
   {
      this.street = street;
   }
}
